package com.junchenrobot.mes.vo;

import lombok.*;
import org.hibernate.validator.constraints.Range;

/**
 * 门状态参数
 *
 * @author SeaWave
 * @date 2022/11/01
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class DoorStateVo {
    
    /**
     * 门编号
     */
    @Range(min = 1, max = 10, message = "非法参数")
    private Integer doorCode;
    
    /**
     * 门状态
     */
    @Range(min = 1, max = 10, message = "非法参数")
    private Integer doorState;
    
}
